<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Game_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-game_id" data-rule="required" data-source="game/lists/index" class="form-control selectpage"
                   name="row[game_id]" type="text" value="{$row.game_id|htmlentities}" disabled="disabled">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname"
                   class="form-control selectpage" name="row[user_id]" type="text" disabled="disabled"
                   value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Subarea_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-subarea_id" data-rule="required" data-source="game/subarea/index"
                   class="form-control selectpage" name="row[subarea_id]" type="text" disabled="disabled"
                   value="{$row.subarea_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Game_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-game_number" class="form-control" name="row[game_number]" type="text"
                   value="{$row.game_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Game_nickname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-game_nickname" class="form-control" name="row[game_nickname]" type="text"
                   value="{$row.game_nickname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Game_avatar')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-game_avatar" class="form-control" size="50" name="row[game_avatar]" type="text"
                       value="{$row.game_avatar|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-game_avatar" class="btn btn-danger faupload"
                                  data-input-id="c-game_avatar"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp"
                                  data-multiple="false" data-preview-id="p-game_avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-game_avatar" class="btn btn-primary fachoose"
                                  data-input-id="c-game_avatar" data-mimetype="image/*" data-multiple="false"><i
                            class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-game_avatar"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-game_avatar"></ul>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
